using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CoreRp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace CoreRp.Pages.admin
{
    [Filters.AuthRole]
    public class homeModel : PageModel
    {
        public List<M_MenuInfo> Menus { get; set; }
        public void OnGet()
        {
            Menus=Services.Rap.S_Menu.GetMenus(Url);
        }
    }
}
